import {createAction } from 'redux-actions'

// 1 获取数据
// 一波操作触发新指令

export const load_todo = createAction('load_todo')
export const load_todo_success = createAction('load_todo_success')

export const add_todo = createAction('add_todo')
export const add_todo_success = createAction('add_todo_success')

export const remove_todo = createAction('remove_todo')
export const remove_todo_success = createAction('remove_todo_success')

export const modify_todo = createAction('modify_todo')
export const modify_todo_success = createAction('modify_todo_success')

export const filter_todo = createAction('filter_todo')

export const clear_todo_completed = createAction('clear_todo_completed')
export const clear_todo_completed_success = createAction('clear_todo_completed_success')

export const edit_todo = createAction('edit_todo')
export const edit_todo_success = createAction('edit_todo_success')

export const rename_todo = createAction('rename_todo')
export const rename_todo_success = createAction('rename_todo_success')